import 'package:flutter_widget_learn/baseWidgetList/Button.dart';
import 'package:flutter_widget_learn/baseWidgetList/ImageAndIcon.dart';
import 'package:flutter_widget_learn/baseWidgetList/SwitchAndCheckbox.dart';
import 'package:flutter_widget_learn/baseWidgetList/Text.dart';
import 'package:flutter_widget_learn/baseWidgetList/TextFieldAndForm.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/AnimatedList.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/GridView.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/ListView/examples/ScrollControllerTestRoute.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/PageView.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/TabView.dart';
import 'package:flutter_widget_learn/scrollViewWidgetList/singleChildScrollView.dart';

import 'FeatureWidgetList/CustomProvider.dart';
import 'FeatureWidgetList/FutureBuilder.dart';
import 'FeatureWidgetList/InheritedWidget.dart';
import 'FeatureWidgetList/Theme.dart';
import 'FeatureWidgetList/WillPopScope.dart';
import 'baseWidgetList/ProgressIndicator.dart';
import 'components/CategoryTitle.dart';
import 'components/LinkButton.dart';
import 'containerWidgetList/Clip.dart';
import 'containerWidgetList/Container.dart';
import 'containerWidgetList/DecoratedBox.dart';
import 'containerWidgetList/Padding.dart';
import 'containerWidgetList/Scaffold.dart';
import 'containerWidgetList/Transform.dart';
import 'http/Dio.dart';
import 'layoutWidgetList/Align.dart';
import 'layoutWidgetList/Constrained.dart';
import 'layoutWidgetList/Flex.dart';
import 'layoutWidgetList/RowAndColumn.dart';
import 'layoutWidgetList/StackAndPositioned.dart';
import 'layoutWidgetList/WrapAndFlow.dart';

import 'scrollViewWidgetList/ListView/index.dart';

var routes = {
  "text_learn": (context) => TextLn(),
  "button_learn": (context) => ButtonLn(),
  "image_andIcon_learn": (context) => ImageAndIconLn(),
  "switch_and_checkbox_learn": (context) => SwitchAndCheckboxLn(),
  "text_field_and_form_learn": (context) => TextFieldAndFormLn(),
  "progress_indicator_learn": (context) => ProgressIndicatorLn(),
  "constrained_learn": (context) => ConstrainedLn(),
  "row_and_column_learn": (context) => RowAndColumnLn(),
  "flex_learn": (context) => FlexLn(),
  "wrap_and_flow_learn": (context) => WrapAndFlowLn(),
  "stack_and_positioned_learn": (context) => StackAndPositionedLn(),
  "align_learn": (context) => AlignLn(),
  "padding_learn": (context) => PaddingLn(),
  "decorated_box_learn": (context) => DecoratedBoxLn(),
  "transform_learn": (context) => TransformLn(),
  "clip_learn": (context) => ClipLn(),
  "scaffold_learn": (context) => ScaffoldLn(),
  "single_child_scroll_view_learn": (context) => SingleChildScrollViewLn(),
  "list_view_learn": (context) => ListViewLn(),
  "list_view_builder_learn": (context) => ListViewBuilderLn(),
  "list_view_no_limit_learn": (context) => ListViewNoLimitLn(),
  "list_view_separated_learn": (context) => ListViewSeparatedLn(),
  "list_view_scroll_controller_learn": (context) => ScrollControllerTestRoute(),
  "list_view_notification_learn": (context) => ScrollNotificationTestRoute(),
  "animated_listarn_learn": (context) => AnimatedListRoute(),
  "gridView_learn": (context) => GridViewLn(),
  "page_viewLn_learn": (context) => PageViewLn(),
  "tab_view_learn": (context) => TabViewRoute(),
  "willPop_scope_learn": (context) => WillPopScopeLn(),
  "inherited_widget_learn": (context) => InheritedWidgetLn(),
  "provider_route_learn": (context) => ProviderRoute(),
  "theme_route_learn": (context) => ThemeTestRoute(),
  "future_builder_learn": (context) => FutureBuilderLn(),
  "dio_learn": (context) => DioLn(),
  // "/":(context) => MyHomePage(title: 'Flutter Demo Home Page'), //注册首页路由
};
